package org.csnb.feign.web.controller;

import org.csnb.common.dto.TransData;
import org.csnb.feign.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ning
 * @createTime 2019/8/9 上午10:45
 * @description
 */
@RestController
public class TestController {
    @Autowired
    private TestService testService;
    @GetMapping("/test")
    public TransData getTest(){
        return testService.getTest();
    }
}